<!-- 登录组件 -->
<div id="login-wrap">
  <div class="login-box">
    <div class="mark">
      <img src="assets/images/logo.png" alt="">
    </div>

    <div class="login">
      <p class="title">BMS</p>
      <div class="form">
        <form [formGroup]="validateForm" (ngSubmit)="submitForm()">
          <mat-form-field class="field" appearance="fill">
            <mat-label class="label">用户名</mat-label>
            <input matInput formControlName="userName" placeholder="请输入用户名">
          </mat-form-field>
          <mat-form-field class="field" appearance="fill">
            <mat-label class="label">密码</mat-label>
            <input matInput formControlName="password" type="password" placeholder="请输入密码">
          </mat-form-field>
          <button mat-raised-button color="warn">登录</button>
        </form>
      </div>
    </div>
  </div>
</div>
